package com.xiangwei.dao;

import java.util.List;

import com.xiangwei.entity.Image;

public interface ImageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Image record);

    int insertSelective(Image record);

    Image selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Image record);

    int updateByPrimaryKey(Image record);
	
	List<Image> getImagesByPidAndType(Image img);
	
	int delImagesByPidAndType(Image img);
}